import Home from "../demo/index";
import Type from "../demo/type";
import BreakWrap from "../demo/breakWrap";
import AdaptiveHeight from "../demo/adaptiveHeight";
import EventCom from "../demo/inputEvent";
import DisabledInputUpdateMixKeyBoardLang from "../demo/disabledInputUpdateMixKeyBoardLang.vue";
import canSwitchOtherBoard from "../demo/canSwitchOtherBoard";
import showFixedInput from "../demo/showFixedInput";
import InputMaxLength from "../demo/inputMaxLength.vue";
import Customkeyboard from "../demo/Customkeyboard.vue";
import noEmoji from "../demo/noEmoji.vue";
import hideHead from "../demo/hideHead.vue";
import inputDisabled from "../demo/inputDisabled.vue";
import inputSlot from "../demo/inputSlot.vue";
import horizontalScreen from "../demo/horizontalScreen";
import horizontalScreen2 from "../demo/horizontalScreen2";
import inputFuncSelect from "../demo/inputFuncSelect.vue";

import KeyboardAwareScrollView1 from "../demo/KeyboardAwareScrollView1";
import KeyboardAwareScrollView2 from "../demo/KeyboardAwareScrollView2";
import KeyboardAwareScrollView3 from "../demo/KeyboardAwareScrollView3";

import PasswordInput from "../demo/PasswordInput";
import NumberKeyboard1 from "../demo/NumberKeyboard1";

export default [{
    path: "/", // 重定向到home页面
    redirect: "/home",
},
{
    path: "/home",
    component: Home,
    title: "home",
},
{
    path: "/type",
    component: Type,
    title: "input props type",
    cnTit: "type类型展示,滚动到可视区",
    compName: "defaultInput",
},
{
    path: "/inputFuncSelect",
    component: inputFuncSelect,
    title: "input select function",
    cnTit: "全选",
    compName: "defaultInput",
},
{
    path: "/breakwrap",
    component: BreakWrap,
    title: "input breakwrap",
    cnTit: "输入框换行",
    compName: "defaultInput",
},
{
    path: "/adaptiveHeight",
    component: AdaptiveHeight,
    title: "input adaptiveHeight",
    cnTit: "输入框高度自适应",
    compName: "defaultInput",
},
{
    path: "/event",
    component: EventCom,
    title: "input event",
    cnTit: "输入框事件",
    compName: "defaultInput",
},
{
    path: "/disabledInputUpdateMixKeyBoardLang",
    component: DisabledInputUpdateMixKeyBoardLang,
    title: "keyBoard props disabledInputUpdateMixKeyBoardLang",
    cnTit: "键盘禁用切换语言",
},
{
    path: "/canSwitchOtherBoard",
    component: canSwitchOtherBoard,
    title: "input props canSwitchOtherBoard",
    cnTit: "通过input切换键盘类型",
    compName: "defaultInput",
},

{
    path: "/showFixedInput",
    component: showFixedInput,
    title: "input props showFixedInput",
    cnTit: "键盘携带固定输入框",
    compName: "defaultInput",
},
{
    path: "/inputMaxLength",
    component: InputMaxLength,
    title: "input props inputMaxLength",
    cnTit: "限制长度",
},
{
    path: "/customkeyboard",
    component: Customkeyboard,
    title: "custom keyboard",
    cnTit: "自定义键盘",
},
{
    path: "/numberKeyboard1",
    component: NumberKeyboard1,
    title: "间接使用NumberKeyboard1",
    cnTit: "纯数字键盘",
    compName: "numberKeyBoard",
},
{
    path: "/passwordInput",
    title: "PasswordInput",
    component: PasswordInput,
    cnTit: "密码输入框",
    compName: "passWordInput",
},

{
    path: "/noEmoji",
    component: noEmoji,
    title: "keyboard no Emoji",
    cnTit: "无表情键盘",
},
{
    path: "/hidehead",
    component: hideHead,
    title: "keyboard props hideHead",
    cnTit: "隐藏键盘顶部",
},
{
    path: "/inputDisabled",
    component: inputDisabled,
    title: "input props disabled",
    cnTit: "输入框禁用",
},
{
    path: "/inputSlot",
    component: inputSlot,
    title: "input name slot",
    cnTit: "输入框插槽",
},
{
    path: "/horizontalScreen",
    component: horizontalScreen,
    title: "horizontal screen rotate 90",
    cnTit: "横屏90度场景",
},
{
    path: "/horizontalScreen2",
    component: horizontalScreen2,
    title: "horizontal screen rotate -90",
    cnTit: "横屏-90度场景",
},
{
    path: "/KeyboardAwareScrollView1",
    component: KeyboardAwareScrollView1,
    title: "KeyboardAwareScrollView",
    cnTit: "滚动内容是dom,且旋转90度",
    compName: "keyboard",
},
{
    path: "/KeyboardAwareScrollView2",
    component: KeyboardAwareScrollView2,
    title: "KeyboardAwareScrollView",
    cnTit: "滚动内容是dom，且旋转-90度",
    compName: "keyboard",
},
{
    path: "/KeyboardAwareScrollView3",
    component: Type,
    title: "body scroll",
    cnTit: "滚动区域是window",
    compName: "keyboard",
},
];